package com.fz.us.oa.web.shiro.realm;

import java.util.Map;

/**
 * 白名单Token
 */
public class StatelessWhiteListToken extends StatelessBaseToken {

    private String appId;
    private Map<String, String> params;
    private String appSign;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }

    public String getAppSign() {
        return appSign;
    }

    public void setAppSign(String appSign) {
        this.appSign = appSign;
    }

    @Override
    public Object getPrincipal() {
        return appId;
    }

    @Override
    public Object getCredentials() {
        return appSign;
    }

}
